package com.lhj.xxsc.product.feign;

import com.xxsc.common.to.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 罗惠江
 * @version 1.0
 * @email 1511619294@qq.com
 * @date 2020/11/26 10:34
 */
@FeignClient("xxsc-ware")
public interface WareFeignService {

	@PostMapping("/ware/waresku/hasstock")
	List<SkuHasStockVo> getSkusHasStock(@RequestBody List<Long> skuIds);
}
